@font-face {
    font-family: "uiFont";
    src: local("Inter"), local("Helvetica Neue"), local("Helvetica"), local("PingFang SC"), local("Hiragino Sans GB"), local("Microsoft YaHei") local("微软雅黑"), local("Arial"), sans-serif;
    /* from element UI */
}

body {
    margin: 0;
    padding: 0;
    font-family: "uiFont";
    -webkit-user-select: none;
    user-select: none;
}

.inline_btn {
    text-align: center;
    transition: all 0.1s ease-in-out;
    border: solid;
    border-width: 1px;
    background-color: #00000000;
    border-color: #0077ff;
    color: #0077ff;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 4px;
    margin-right: 4px;
    -webkit-user-select: none;
    user-select: none;
}

.inline_btn:hover {
    background-color: #0077ff;
    color: #ffffff;
}

#top_bar {
    position: absolute;
    height: 28px;
    left: 0;
    top: 0;
    right: 0;
    border-bottom: #d3d3d3 1px solid;
}

#username {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 8px;
    padding-left: 8px;
    -webkit-user-select: text;
    user-select: text;
}

#username::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    bottom: 2px;
    width: 3px;
    background-color: #0077ff;
    border-radius: 3px;
}


#func_info {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 102px;
    font-size: 14px;
    color: #383838;
}

#top_bar button {
    margin-right: 4px;
    margin-left: 0;
    margin-top: 2px;
    float: right;
}

#permissions {
    top: 32px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    padding: 8px;
}

.permission {
    position: relative;
    margin-left: 8px;
    margin-right: 8px;
    margin-top: 0;
    margin-bottom: 2px;
    background-color: #fafeff;
    height: 32px;
    border-radius: 4px;
}

.permission:hover {
    background-color: #e9faff;
}

.permission span {
    font-size: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 8px;
    width: calc(60% - 8px);
    -webkit-user-select: text;
    user-select: text;
    overflow-x: scroll;
}

.permission span::-webkit-scrollbar {
    display: none;
}


.permission .permission_value {
    display: block;
    font-size: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 60%;
    height: 28px;
    width: calc(40% - 38px);
}

.permission .permission_value::after {
    content: "▼";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 8px;
    color: #0077ff;
    font-size: 8px;
}

.permission .permission_remove {
    border-color: #d40000;
    color: #d40000;
    display: block;
    font-size: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    height: 28px;
    width: 28px;
}

.permission .permission_remove:hover {
    color: #ffffff;
    background-color: #d40000;
}